<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN"><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="en-us">
<title>UI Plugin - XML Syntax</title>
<style type="text/css">
                    td, th, a, h1, h2, h3 { font-family: Helvetica, Arial; }
                    a, a:active, a:visited { color: black; text-decoration: none; }
                    a:hover { text-decoration: underline; }
                    td, th { vertical-align: top; }
                    .tt { font-family: Courier New, fixed; font-weight: bold; }
                    th { text-align: right; }
                    table.elements td { background: #eee; }
                    table.attributes td { background: #ddd; }
                    tr.spacer td { background: none; height: 1em; }
                    ul { margin: 0; }
                </style>
</head>
<body><table width="800" align="center"><tr><td>
<a name="top"></a><h1 style="text-align: center;">CustomUI Plugin - UI XML Syntax</h1>
<h3>Elements:</h3>
<ul>
<li style="display: inline;"><a href="#ui" class="tt">&lt;ui&gt;</a></li>
<li style="display: inline;"><a href="#button" class="tt">&lt;button&gt;</a></li>
<li style="display: inline;"><a href="#checkbox" class="tt">&lt;checkbox&gt;</a></li>
<li style="display: inline;"><a href="#combobox" class="tt">&lt;combobox&gt;</a></li>
<li style="display: inline;"><a href="#edit" class="tt">&lt;edit&gt;</a></li>
<li style="display: inline;"><a href="#group" class="tt">&lt;group&gt;</a></li>
<li style="display: inline;"><a href="#hslider" class="tt">&lt;hslider&gt;</a></li>
<li style="display: inline;"><a href="#image" class="tt">&lt;image&gt;</a></li>
<li style="display: inline;"><a href="#label" class="tt">&lt;label&gt;</a></li>
<li style="display: inline;"><a href="#plot" class="tt">&lt;plot&gt;</a></li>
<li style="display: inline;"><a href="#progressbar" class="tt">&lt;progressbar&gt;</a></li>
<li style="display: inline;"><a href="#radiobutton" class="tt">&lt;radiobutton&gt;</a></li>
<li style="display: inline;"><a href="#scene3d" class="tt">&lt;scene3d&gt;</a></li>
<li style="display: inline;"><a href="#spinbox" class="tt">&lt;spinbox&gt;</a></li>
<li style="display: inline;"><a href="#table" class="tt">&lt;table&gt;</a></li>
<li style="display: inline;"><a href="#tabs" class="tt">&lt;tabs&gt;</a></li>
<li style="display: inline;"><a href="#tab" class="tt">&lt;tab&gt;</a></li>
<li style="display: inline;"><a href="#text-browser" class="tt">&lt;text-browser&gt;</a></li>
<li style="display: inline;"><a href="#tree" class="tt">&lt;tree&gt;</a></li>
<li style="display: inline;"><a href="#vslider" class="tt">&lt;vslider&gt;</a></li>
<li style="display: inline;"><a href="#svg" class="tt">&lt;svg&gt;</a></li>
<li style="display: inline;"><a href="#stretch" class="tt">&lt;stretch&gt;</a></li>
<li style="display: inline;"><a href="#br" class="tt">&lt;br&gt;</a></li>
</ul>
<hr>
<table class="elements">
<tr><th>
<a name="ui"></a><a href="#top">^</a>
</th></tr>
<tr>
<th>Element:</th>
<td class="tt">&lt;ui&gt;</td>
</tr>
<tr>
<th>Description:</th>
<td>Root element (related to Custom UI window).</td>
</tr>
<tr>
<th>Attributes:</th>
<td><table class="attributes">
<tr>
<th>Name:</th>
<td class="tt">enabled</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>Enable status of widget.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">modal</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>false</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, the dialog window will be modal.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">style</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Qt stylesheet.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">title</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td>Custom UI</td>
</tr>
<tr>
<th>Description:</th>
<td>Title of the Custom UI window.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">resizable</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>false</td>
</tr>
<tr>
<th>Description:</th>
<td>Make window resizable if true.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">closeable</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>false</td>
</tr>
<tr>
<th>Description:</th>
<td>Make window closeable if true.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">layout</td>
</tr>
<tr>
<th>Type:</th>
<td>
        One of:
        <ul>
<li>vbox</li>
<li>hbox</li>
<li>form</li>
<li>grid</li>
<li>none</li>
</ul>
</td>
</tr>
<tr>
<th>Default:</th>
<td>vbox</td>
</tr>
<tr>
<th>Description:</th>
<td>Layout of the widget. When layout is 'none', specify widget placement using the geometry attribute, like: geometry="x,y,width,height".</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">content-margins</td>
</tr>
<tr>
<th>Type:</th>
<td>int[4]</td>
</tr>
<tr>
<th>Default:</th>
<td>7,7,7,7</td>
</tr>
<tr>
<th>Description:</th>
<td>Sets the left, top, right, and bottom margins to use around the layout.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">placement</td>
</tr>
<tr>
<th>Type:</th>
<td>
        One of:
        <ul>
<li>center</li>
<li>relative</li>
<li>absolute</li>
</ul>
</td>
</tr>
<tr>
<th>Default:</th>
<td>center</td>
</tr>
<tr>
<th>Description:</th>
<td>Placement of the window widget. It will affect how the position attribute is interpreted.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">position</td>
</tr>
<tr>
<th>Type:</th>
<td>int[2]</td>
</tr>
<tr>
<th>Default:</th>
<td>50,50</td>
</tr>
<tr>
<th>Description:</th>
<td>Position of the window widget.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">size</td>
</tr>
<tr>
<th>Type:</th>
<td>int[2]</td>
</tr>
<tr>
<th>Default:</th>
<td>-1,-1</td>
</tr>
<tr>
<th>Description:</th>
<td>Initial size of the window widget. -1,-1 will use the default behavior (automatically compute the optimal size).</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">activate</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>If false, the window is shown without activating it (Qt flag WA_ShowWithoutActivating).</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-close</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the close event. Arguments of the function are: (uiHandle). When a callback is specified, the window will not close upon pressing the close button. It may be hidden or destroyed explicitly in the callback.</td>
</tr>
</table></td>
</tr>
<tr>
<th>See also:</th>
<td><ul>
<li><a href="#stretch" class="tt">&lt;stretch&gt;</a></li>
<li><a href="#br" class="tt">&lt;br&gt;</a></li>
</ul></td>
</tr>
<tr><th>
<a name="button"></a><a href="#top">^</a>
</th></tr>
<tr>
<th>Element:</th>
<td class="tt">&lt;button&gt;</td>
</tr>
<tr>
<th>Description:</th>
<td>Push button widget.</td>
</tr>
<tr>
<th>Attributes:</th>
<td><table class="attributes">
<tr>
<th>Name:</th>
<td class="tt">enabled</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>Enable status of widget.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">style</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Qt stylesheet.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">text</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td>???</td>
</tr>
<tr>
<th>Description:</th>
<td>Text on the button.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">default</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>false</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, this is the default button of the dialog window.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">auto-repeat</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>false</td>
</tr>
<tr>
<th>Description:</th>
<td>If auto-repeat is enabled, then the click() signal is emitted at regular intervals when the button is down.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">auto-repeat-delay</td>
</tr>
<tr>
<th>Type:</th>
<td>int</td>
</tr>
<tr>
<th>Default:</th>
<td>0</td>
</tr>
<tr>
<th>Description:</th>
<td>Defines the initial delay in milliseconds before auto-repetition kicks in.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">auto-repeat-interval</td>
</tr>
<tr>
<th>Type:</th>
<td>int</td>
</tr>
<tr>
<th>Default:</th>
<td>200</td>
</tr>
<tr>
<th>Description:</th>
<td>Defines the length of the auto-repetition interval in milliseconds.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">checkable</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>false</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, the button is checkable.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">checked</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>false</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, the button is initially checked.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">auto-exclusive</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>false</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, checkable buttons that belong to the same parent widget behave as if they were part of the same exclusive button group. In an exclusive button group, only one button can be checked at any time; checking another button automatically unchecks the previously checked one.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-click</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the click event. Arguments of the function are: (uiHandle, id).</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">icon</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a icon to use. The only icon name scheme supported is default://SP_xxx where SP_xxx is a constant from http://doc.qt.io/qt-5/qstyle.html#StandardPixmap-enum</td>
</tr>
</table></td>
</tr>
<tr><th>
<a name="checkbox"></a><a href="#top">^</a>
</th></tr>
<tr>
<th>Element:</th>
<td class="tt">&lt;checkbox&gt;</td>
</tr>
<tr>
<th>Description:</th>
<td>Checkbox widget.</td>
</tr>
<tr>
<th>Attributes:</th>
<td><table class="attributes">
<tr>
<th>Name:</th>
<td class="tt">enabled</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>Enable status of widget.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">style</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Qt stylesheet.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">text</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td>???</td>
</tr>
<tr>
<th>Description:</th>
<td>Text on the checkbox label.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">checked</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>false</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, the checkbox is initially checked.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">checkable</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, the button is checkable.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">auto-exclusive</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>false</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, checkable buttons that belong to the same parent widget behave as if they were part of the same exclusive button group. In an exclusive button group, only one button can be checked at any time; checking another button automatically unchecks the previously checked one.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-change</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the change event.  Arguments of the function are: (uiHandle, id, newValue).</td>
</tr>
</table></td>
</tr>
<tr><th>
<a name="combobox"></a><a href="#top">^</a>
</th></tr>
<tr>
<th>Element:</th>
<td class="tt">&lt;combobox&gt;</td>
</tr>
<tr>
<th>Description:</th>
<td>A combobox widget. It allows to select one from many items from a dropdown menu.  Items can be added as child XML nodes, e.g. &lt;item&gt;Item text&lt;/item&gt;, or dynamically via the Lua API.</td>
</tr>
<tr>
<th>Attributes:</th>
<td><table class="attributes">
<tr>
<th>Name:</th>
<td class="tt">enabled</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>Enable status of widget.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">style</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Qt stylesheet.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">checkable</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, the button is checkable.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">auto-exclusive</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, checkable buttons that belong to the same parent widget behave as if they were part of the same exclusive button group. In an exclusive button group, only one button can be checked at any time; checking another button automatically unchecks the previously checked one.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-change</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the change event.  Arguments of the function are: (uiHandle, id, newValue).</td>
</tr>
</table></td>
</tr>
<tr><th>
<a name="edit"></a><a href="#top">^</a>
</th></tr>
<tr>
<th>Element:</th>
<td class="tt">&lt;edit&gt;</td>
</tr>
<tr>
<th>Description:</th>
<td>A widget for text input.</td>
</tr>
<tr>
<th>Attributes:</th>
<td><table class="attributes">
<tr>
<th>Name:</th>
<td class="tt">enabled</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>Enable status of widget.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">style</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Qt stylesheet.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">value</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td>???</td>
</tr>
<tr>
<th>Description:</th>
<td>Initial text.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">password</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>false</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, display platform-dependent password mask characters instead of the characters actually entered.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-change</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the change event.  Arguments of the function are: (uiHandle, id, newValue).</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-editing-finished</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the editing finished event.  Arguments of the function are: (uiHandle, id, newValue).</td>
</tr>
</table></td>
</tr>
<tr><th>
<a name="group"></a><a href="#top">^</a>
</th></tr>
<tr>
<th>Element:</th>
<td class="tt">&lt;group&gt;</td>
</tr>
<tr>
<th>Description:</th>
<td>A widget for grouping other widgets.  Other widgets are specified as children of the &lt;group&gt; node.  It has its own layout, so it can be used to use a different layout only for a group of widgets. It is also required to group a set of radiobutton widgets.</td>
</tr>
<tr>
<th>Attributes:</th>
<td><table class="attributes">
<tr>
<th>Name:</th>
<td class="tt">enabled</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>Enable status of widget.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">style</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Qt stylesheet.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">flat</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>false</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, the group will have no visual appearance (text will be ignored).  Otherwise, it will have some visual appearance, depending on the platform.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">layout</td>
</tr>
<tr>
<th>Type:</th>
<td>
        One of:
        <ul>
<li>vbox</li>
<li>hbox</li>
<li>form</li>
<li>grid</li>
<li>none</li>
</ul>
</td>
</tr>
<tr>
<th>Default:</th>
<td>vbox</td>
</tr>
<tr>
<th>Description:</th>
<td>Layout of the widget. When layout is 'none', specify widget placement using the geometry attribute, like: geometry="x,y,width,height".</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">content-margins</td>
</tr>
<tr>
<th>Type:</th>
<td>int[4]</td>
</tr>
<tr>
<th>Default:</th>
<td>7,7,7,7</td>
</tr>
<tr>
<th>Description:</th>
<td>Sets the left, top, right, and bottom margins to use around the layout.</td>
</tr>
</table></td>
</tr>
<tr>
<th>See also:</th>
<td><ul>
<li><a href="#stretch" class="tt">&lt;stretch&gt;</a></li>
<li><a href="#br" class="tt">&lt;br&gt;</a></li>
</ul></td>
</tr>
<tr><th>
<a name="hslider"></a><a href="#top">^</a>
</th></tr>
<tr>
<th>Element:</th>
<td class="tt">&lt;hslider&gt;</td>
</tr>
<tr>
<th>Description:</th>
<td>A horizontal slider widget.</td>
</tr>
<tr>
<th>Attributes:</th>
<td><table class="attributes">
<tr>
<th>Name:</th>
<td class="tt">enabled</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>Enable status of widget.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">style</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Qt stylesheet.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">value</td>
</tr>
<tr>
<th>Type:</th>
<td>int</td>
</tr>
<tr>
<th>Default:</th>
<td>0</td>
</tr>
<tr>
<th>Description:</th>
<td>Initial value.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">minimum</td>
</tr>
<tr>
<th>Type:</th>
<td>int</td>
</tr>
<tr>
<th>Default:</th>
<td>0</td>
</tr>
<tr>
<th>Description:</th>
<td>Minimum value.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">maximum</td>
</tr>
<tr>
<th>Type:</th>
<td>int</td>
</tr>
<tr>
<th>Default:</th>
<td>100</td>
</tr>
<tr>
<th>Description:</th>
<td>Maximum value.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">tick-interval</td>
</tr>
<tr>
<th>Type:</th>
<td>int</td>
</tr>
<tr>
<th>Default:</th>
<td>0</td>
</tr>
<tr>
<th>Description:</th>
<td>Tick interval.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">tick-position</td>
</tr>
<tr>
<th>Type:</th>
<td>
        One of:
        <ul>
<li>none</li>
<li>both-sides</li>
<li>above</li>
<li>below</li>
<li>left</li>
<li>right</li>
</ul>
</td>
</tr>
<tr>
<th>Default:</th>
<td>none</td>
</tr>
<tr>
<th>Description:</th>
<td>In which direction to draw ticks.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">inverted</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>false</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, minimum and maximum will be swapped.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-change</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the change event.  Arguments of the function are: (uiHandle, id, newValue).</td>
</tr>
</table></td>
</tr>
<tr>
<th>See also:</th>
<td><ul><li><a href="#vslider" class="tt">&lt;vslider&gt;</a></li></ul></td>
</tr>
<tr><th>
<a name="image"></a><a href="#top">^</a>
</th></tr>
<tr>
<th>Element:</th>
<td class="tt">&lt;image&gt;</td>
</tr>
<tr>
<th>Description:</th>
<td>A image display widget.</td>
</tr>
<tr>
<th>Attributes:</th>
<td><table class="attributes">
<tr>
<th>Name:</th>
<td class="tt">enabled</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>Enable status of widget.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">style</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Qt stylesheet.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">file</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Display the image from the specified file.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">width</td>
</tr>
<tr>
<th>Type:</th>
<td>int</td>
</tr>
<tr>
<th>Default:</th>
<td>-1</td>
</tr>
<tr>
<th>Description:</th>
<td>Desired width for the initial image.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">height</td>
</tr>
<tr>
<th>Type:</th>
<td>int</td>
</tr>
<tr>
<th>Default:</th>
<td>-1</td>
</tr>
<tr>
<th>Description:</th>
<td>Desired height for the initial image.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">scaled-contents</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>false</td>
</tr>
<tr>
<th>Description:</th>
<td>This property holds whether this widget will scale its image to fill all available space.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">keep-aspect-ratio</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>false</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, and also scaled-contents is true, will keep aspect ratio when resizing.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-mouse-down</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the mouseDown event. Arguments of the function are: (uiHandle, id, type, flags, x, y).</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-mouse-up</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the mouseUp event. Arguments of the function are: (uiHandle, id, type, flags, x, y).</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-mouse-move</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the mouseMove event. Arguments of the function are: (uiHandle, id, type, flags, x, y).</td>
</tr>
</table></td>
</tr>
<tr>
<th>See also:</th>
<td><ul>
<li><a href="#label" class="tt">&lt;label&gt;</a></li>
<li><a href="#svg" class="tt">&lt;svg&gt;</a></li>
</ul></td>
</tr>
<tr><th>
<a name="label"></a><a href="#top">^</a>
</th></tr>
<tr>
<th>Element:</th>
<td class="tt">&lt;label&gt;</td>
</tr>
<tr>
<th>Description:</th>
<td>A static text widget.</td>
</tr>
<tr>
<th>Attributes:</th>
<td><table class="attributes">
<tr>
<th>Name:</th>
<td class="tt">enabled</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>Enable status of widget.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">style</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Qt stylesheet.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">text</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td>???</td>
</tr>
<tr>
<th>Description:</th>
<td>Text on the label.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">wordwrap</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>false</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, long text will wrap in multiple lines, otherwise will be cut.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-link-activated</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the linkActivated event. Arguments of the function are: (uiHandle, id, linkHref).</td>
</tr>
</table></td>
</tr>
<tr>
<th>See also:</th>
<td><ul><li><a href="#edit" class="tt">&lt;edit&gt;</a></li></ul></td>
</tr>
<tr><th>
<a name="plot"></a><a href="#top">^</a>
</th></tr>
<tr>
<th>Element:</th>
<td class="tt">&lt;plot&gt;</td>
</tr>
<tr>
<th>Description:</th>
<td>A widget for displaying time series charts.</td>
</tr>
<tr>
<th>Attributes:</th>
<td><table class="attributes">
<tr>
<th>Name:</th>
<td class="tt">background-color</td>
</tr>
<tr>
<th>Type:</th>
<td>int[3]</td>
</tr>
<tr>
<th>Default:</th>
<td>-1,-1,-1</td>
</tr>
<tr>
<th>Description:</th>
<td>Color of the background, as three RGB components in the 0...255 range. The special value -1,-1,-1 means to use the color of the window's background.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">foreground-color</td>
</tr>
<tr>
<th>Type:</th>
<td>int[3]</td>
</tr>
<tr>
<th>Default:</th>
<td>-1,-1,-1</td>
</tr>
<tr>
<th>Description:</th>
<td>Color of the foreground elements (i.e.: axes, axes labels, tick labels, tick marks and grid lines), as three RGB components in the 0...255 range. The special value -1,-1,-1 means to use the default color. This value can be overridden by any of the specific attributes for the individual elements.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">axis-color</td>
</tr>
<tr>
<th>Type:</th>
<td>int[3]</td>
</tr>
<tr>
<th>Default:</th>
<td>-1,-1,-1</td>
</tr>
<tr>
<th>Description:</th>
<td>Color of the axes, as three RGB components in the 0...255 range. The special value -1,-1,-1 means to use the default color. Can be overridden by axis-x-color and axis-y-color.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">label-color</td>
</tr>
<tr>
<th>Type:</th>
<td>int[3]</td>
</tr>
<tr>
<th>Default:</th>
<td>-1,-1,-1</td>
</tr>
<tr>
<th>Description:</th>
<td>Color of the axis labels, as three RGB components in the 0...255 range. The special value -1,-1,-1 means to use the default color. Can be overridden by label-x-color and label-y-color.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">grid-color</td>
</tr>
<tr>
<th>Type:</th>
<td>int[3]</td>
</tr>
<tr>
<th>Default:</th>
<td>-1,-1,-1</td>
</tr>
<tr>
<th>Description:</th>
<td>Color of the grid, as three RGB components in the 0...255 range. The special value -1,-1,-1 means to use the default color. Can be overridden by grid-x-color and grid-y-color.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">tick-label-color</td>
</tr>
<tr>
<th>Type:</th>
<td>int[3]</td>
</tr>
<tr>
<th>Default:</th>
<td>-1,-1,-1</td>
</tr>
<tr>
<th>Description:</th>
<td>Color of the tick labels, as three RGB components in the 0...255 range. The special value -1,-1,-1 means to use the default color.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">axis-x-color</td>
</tr>
<tr>
<th>Type:</th>
<td>int[3]</td>
</tr>
<tr>
<th>Default:</th>
<td>-1,-1,-1</td>
</tr>
<tr>
<th>Description:</th>
<td>Color of the X axis, as three RGB components in the 0...255 range. The special value -1,-1,-1 means to use the default color.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">axis-y-color</td>
</tr>
<tr>
<th>Type:</th>
<td>int[3]</td>
</tr>
<tr>
<th>Default:</th>
<td>-1,-1,-1</td>
</tr>
<tr>
<th>Description:</th>
<td>Color of the Y axis, as three RGB components in the 0...255 range. The special value -1,-1,-1 means to use the default color.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">label-x-color</td>
</tr>
<tr>
<th>Type:</th>
<td>int[3]</td>
</tr>
<tr>
<th>Default:</th>
<td>-1,-1,-1</td>
</tr>
<tr>
<th>Description:</th>
<td>Color of the X label, as three RGB components in the 0...255 range. The special value -1,-1,-1 means to use the default color.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">label-y-color</td>
</tr>
<tr>
<th>Type:</th>
<td>int[3]</td>
</tr>
<tr>
<th>Default:</th>
<td>-1,-1,-1</td>
</tr>
<tr>
<th>Description:</th>
<td>Color of the Y label, as three RGB components in the 0...255 range. The special value -1,-1,-1 means to use the default color.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">grid-x-color</td>
</tr>
<tr>
<th>Type:</th>
<td>int[3]</td>
</tr>
<tr>
<th>Default:</th>
<td>-1,-1,-1</td>
</tr>
<tr>
<th>Description:</th>
<td>Color of the X grid, as three RGB components in the 0...255 range. The special value -1,-1,-1 means to use the default color.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">grid-y-color</td>
</tr>
<tr>
<th>Type:</th>
<td>int[3]</td>
</tr>
<tr>
<th>Default:</th>
<td>-1,-1,-1</td>
</tr>
<tr>
<th>Description:</th>
<td>Color of the Y grid, as three RGB components in the 0...255 range. The special value -1,-1,-1 means to use the default color.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">tick-label-x-color</td>
</tr>
<tr>
<th>Type:</th>
<td>int[3]</td>
</tr>
<tr>
<th>Default:</th>
<td>-1,-1,-1</td>
</tr>
<tr>
<th>Description:</th>
<td>Color of the X tick labels, as three RGB components in the 0...255 range. The special value -1,-1,-1 means to use the default color.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">tick-label-y-color</td>
</tr>
<tr>
<th>Type:</th>
<td>int[3]</td>
</tr>
<tr>
<th>Default:</th>
<td>-1,-1,-1</td>
</tr>
<tr>
<th>Description:</th>
<td>Color of the Y tick labels, as three RGB components in the 0...255 range. The special value -1,-1,-1 means to use the default color.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">square</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>false</td>
</tr>
<tr>
<th>Description:</th>
<td></td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">max-buffer-size</td>
</tr>
<tr>
<th>Type:</th>
<td>int</td>
</tr>
<tr>
<th>Default:</th>
<td>1000</td>
</tr>
<tr>
<th>Description:</th>
<td>Maximum size of the buffer(s).</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">cyclic-buffer</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>false</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, buffers will be cyclic when full.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">ticks</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, x and y tickmarks will be visible.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">x-ticks</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, x tickmarks will be visible.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">y-ticks</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, y tickmarks will be visible.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">tick-labels</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, x and y tick labels will be visible.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">x-tick-labels</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, x tick labels will be visible.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">y-tick-labels</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, y tick labels will be visible.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-click</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the click event on a curve data point.  Arguments of the function are: (uiHandle, id, curveName, dataIndex, xValue, yValue).</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-legend-click</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the click event on a legend item.  Arguments of the function are: (uiHandle, id, curveName).</td>
</tr>
</table></td>
</tr>
<tr><th>
<a name="progressbar"></a><a href="#top">^</a>
</th></tr>
<tr>
<th>Element:</th>
<td class="tt">&lt;progressbar&gt;</td>
</tr>
<tr>
<th>Description:</th>
<td>A progress indicator widget.</td>
</tr>
<tr>
<th>Attributes:</th>
<td><table class="attributes">
<tr>
<th>Name:</th>
<td class="tt">enabled</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>Enable status of widget.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">style</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Qt stylesheet.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">minimum</td>
</tr>
<tr>
<th>Type:</th>
<td>int</td>
</tr>
<tr>
<th>Default:</th>
<td>0</td>
</tr>
<tr>
<th>Description:</th>
<td>Minimum value of the progress.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">maximum</td>
</tr>
<tr>
<th>Type:</th>
<td>int</td>
</tr>
<tr>
<th>Default:</th>
<td>100</td>
</tr>
<tr>
<th>Description:</th>
<td>Maximum value of the progress.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">orientation</td>
</tr>
<tr>
<th>Type:</th>
<td>
        One of:
        <ul>
<li>horizontal</li>
<li>vertical</li>
</ul>
</td>
</tr>
<tr>
<th>Default:</th>
<td>horizontal</td>
</tr>
<tr>
<th>Description:</th>
<td>Orientation.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">inverted</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, the progress ends will be inverted.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">value</td>
</tr>
<tr>
<th>Type:</th>
<td>int</td>
</tr>
<tr>
<th>Default:</th>
<td>0</td>
</tr>
<tr>
<th>Description:</th>
<td>Initial value.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">text-visible</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>Visibility of progress text.</td>
</tr>
</table></td>
</tr>
<tr><th>
<a name="radiobutton"></a><a href="#top">^</a>
</th></tr>
<tr>
<th>Element:</th>
<td class="tt">&lt;radiobutton&gt;</td>
</tr>
<tr>
<th>Description:</th>
<td>A radio button widget.</td>
</tr>
<tr>
<th>Attributes:</th>
<td><table class="attributes">
<tr>
<th>Name:</th>
<td class="tt">enabled</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>Enable status of widget.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">style</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Qt stylesheet.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">text</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td>???</td>
</tr>
<tr>
<th>Description:</th>
<td>Text on the button.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">checked</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>false</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, this button will be initially checked.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-click</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the click event.  Arguments of the function are: (uiHandle, id).</td>
</tr>
</table></td>
</tr>
<tr><th>
<a name="scene3d"></a><a href="#top">^</a>
</th></tr>
<tr>
<th>Element:</th>
<td class="tt">&lt;scene3d&gt;</td>
</tr>
<tr>
<th>Description:</th>
<td>A widget for displaying a 3D scene.</td>
</tr>
<tr>
<th>Attributes:</th>
<td><table class="attributes">
<tr>
<th>Name:</th>
<td class="tt">enabled</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>Enable status of widget.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">style</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Qt stylesheet.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">clear-color</td>
</tr>
<tr>
<th>Type:</th>
<td>int[3]</td>
</tr>
<tr>
<th>Default:</th>
<td>-1,-1,-1</td>
</tr>
<tr>
<th>Description:</th>
<td>Color of the background, as three RGB components in the 0...255 range. The special value -1,-1,-1 means to use the color of the window's background.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-click</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the click event. Arguments of the function are: (uiHandle, id, nodeId).</td>
</tr>
</table></td>
</tr>
<tr><th>
<a name="spinbox"></a><a href="#top">^</a>
</th></tr>
<tr>
<th>Element:</th>
<td class="tt">&lt;spinbox&gt;</td>
</tr>
<tr>
<th>Description:</th>
<td>A widget for numeric input, with increase/decrease buttons.</td>
</tr>
<tr>
<th>Attributes:</th>
<td><table class="attributes">
<tr>
<th>Name:</th>
<td class="tt">enabled</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>Enable status of widget.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">style</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Qt stylesheet.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">value</td>
</tr>
<tr>
<th>Type:</th>
<td>int or float</td>
</tr>
<tr>
<th>Default:</th>
<td>0</td>
</tr>
<tr>
<th>Description:</th>
<td>Initial value.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">minimum</td>
</tr>
<tr>
<th>Type:</th>
<td>int or float</td>
</tr>
<tr>
<th>Default:</th>
<td>0</td>
</tr>
<tr>
<th>Description:</th>
<td>Minimum value.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">maximum</td>
</tr>
<tr>
<th>Type:</th>
<td>int or float</td>
</tr>
<tr>
<th>Default:</th>
<td>100</td>
</tr>
<tr>
<th>Description:</th>
<td>Maximum value.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">prefix</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>String prefix in the displayed value.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">suffix</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>String suffix in the displayed value.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">step</td>
</tr>
<tr>
<th>Type:</th>
<td>int or float</td>
</tr>
<tr>
<th>Default:</th>
<td>1</td>
</tr>
<tr>
<th>Description:</th>
<td>Step (increment/decrement) when using the buttons.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">decimals</td>
</tr>
<tr>
<th>Type:</th>
<td>int</td>
</tr>
<tr>
<th>Default:</th>
<td>6</td>
</tr>
<tr>
<th>Description:</th>
<td>Number of displayed decimal places.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">float</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>autodetect</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, the spinbox will display a floating point value. If false, the spinbox will display integer values. If omitted, this property will be automatically determined by minimum/maximum/step values: if any of those is not a round integer, or if decimals is specified, the spinbox will be float.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-change</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the change event.  Arguments of the function are: (uiHandle, id, newValue).</td>
</tr>
</table></td>
</tr>
<tr><th>
<a name="table"></a><a href="#top">^</a>
</th></tr>
<tr>
<th>Element:</th>
<td class="tt">&lt;table&gt;</td>
</tr>
<tr>
<th>Description:</th>
<td>A table widget. Can optionally contain a &lt;header&gt; elements and &lt;row&gt; elements. Each &lt;header&gt;/&lt;row&gt; element contains only &lt;item&gt; elements. &lt;item&gt; elements may have an optional "editable" attribute of type bool.</td>
</tr>
<tr>
<th>Attributes:</th>
<td><table class="attributes">
<tr>
<th>Name:</th>
<td class="tt">show-horizontal-header</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, column headers will be visible.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">show-vertical-header</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>false</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, row headers will be visible. The 'label' attribute of the &lt;row&gt; can be used to change the displayed text of the row header. The default row header is the line number.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">autosize-horizontal-header</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>false</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, column headers will resize to fit contents.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">autosize-vertical-header</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, row headers will resize to fit contents.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">show-grid</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, grid will be visible.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">selection-mode</td>
</tr>
<tr>
<th>Type:</th>
<td>
        One of:
        <ul>
<li>items</li>
<li>rows</li>
<li>columns</li>
</ul>
</td>
</tr>
<tr>
<th>Default:</th>
<td>items</td>
</tr>
<tr>
<th>Description:</th>
<td>Controls the selection behavior, i.e. if the user can select individual items, entire rows, or entire columns.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">editable</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, cells will be editable.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">sortable</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>false</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, it will be possible to sort data by columns by clicking on column headers.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-cell-activate</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the cell activate event. Arguments of the function are: (uiHandle, id, row, column, cellValue).</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-selection-change</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the selection change event. Arguments of the function are: (uiHandle, id, row, column). If selection mode is 'rows', column will be -1 and vice versa.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-key-press</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the key press event. Arguments of the function are: (uiHandle, id, key, text).</td>
</tr>
</table></td>
</tr>
<tr><th>
<a name="tabs"></a><a href="#top">^</a>
</th></tr>
<tr>
<th>Element:</th>
<td class="tt">&lt;tabs&gt;</td>
</tr>
<tr>
<th>Description:</th>
<td>A tabs widget. Must contain only &lt;tab&gt; child elements.</td>
</tr>
<tr>
<th>Attributes:</th>
<td><table class="attributes">
<tr>
<th>Name:</th>
<td class="tt">enabled</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>Enable status of widget.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">style</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Qt stylesheet.</td>
</tr>
</table></td>
</tr>
<tr>
<th>See also:</th>
<td><ul><li><a href="#tab" class="tt">&lt;tab&gt;</a></li></ul></td>
</tr>
<tr><th>
<a name="tab"></a><a href="#top">^</a>
</th></tr>
<tr>
<th>Element:</th>
<td class="tt">&lt;tab&gt;</td>
</tr>
<tr>
<th>Description:</th>
<td>A tab for the tabs widget. Can only be contained in a &lt;tabs&gt; element.
Can contain widgets, just like &lt;ui&gt; and &lt;group&gt;, and has its own layout.</td>
</tr>
<tr>
<th>Attributes:</th>
<td><table class="attributes">
<tr>
<th>Name:</th>
<td class="tt">enabled</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>Enable status of widget.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">style</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Qt stylesheet.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">title</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td>???</td>
</tr>
<tr>
<th>Description:</th>
<td>Title of the tab.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">layout</td>
</tr>
<tr>
<th>Type:</th>
<td>
        One of:
        <ul>
<li>vbox</li>
<li>hbox</li>
<li>form</li>
<li>grid</li>
<li>none</li>
</ul>
</td>
</tr>
<tr>
<th>Default:</th>
<td>vbox</td>
</tr>
<tr>
<th>Description:</th>
<td>Layout of the widget. When layout is 'none', specify widget placement using the geometry attribute, like: geometry="x,y,width,height".</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">content-margins</td>
</tr>
<tr>
<th>Type:</th>
<td>int[4]</td>
</tr>
<tr>
<th>Default:</th>
<td>7,7,7,7</td>
</tr>
<tr>
<th>Description:</th>
<td>Sets the left, top, right, and bottom margins to use around the layout.</td>
</tr>
</table></td>
</tr>
<tr>
<th>See also:</th>
<td><ul>
<li><a href="#stretch" class="tt">&lt;stretch&gt;</a></li>
<li><a href="#br" class="tt">&lt;br&gt;</a></li>
</ul></td>
</tr>
<tr><th>
<a name="text-browser"></a><a href="#top">^</a>
</th></tr>
<tr>
<th>Element:</th>
<td class="tt">&lt;text-browser&gt;</td>
</tr>
<tr>
<th>Description:</th>
<td>A text browser widget.</td>
</tr>
<tr>
<th>Attributes:</th>
<td><table class="attributes">
<tr>
<th>Name:</th>
<td class="tt">enabled</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>Enable status of widget.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">style</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Qt stylesheet.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">text</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Initial text content.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">html</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>if true, text will be treated as HTML</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">read-only</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>if true, text will be read-only</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-change</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the change event.  Arguments of the function are: (uiHandle, id, newText).</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-link-activated</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the linkActivated event. Arguments of the function are: (uiHandle, id, linkHref).</td>
</tr>
</table></td>
</tr>
<tr>
<th>See also:</th>
<td><ul><li><a href="#edit" class="tt">&lt;edit&gt;</a></li></ul></td>
</tr>
<tr><th>
<a name="tree"></a><a href="#top">^</a>
</th></tr>
<tr>
<th>Element:</th>
<td class="tt">&lt;tree&gt;</td>
</tr>
<tr>
<th>Description:</th>
<td>A tree widget. Must contain one &lt;header&gt; element and many &lt;row&gt; elements. Each &lt;header&gt;/&lt;row&gt; element contains only &lt;item&gt; elements. &lt;row&gt; elements can have 'id' and 'parent-id' attributes (positive integers) to set relationships between items, and a 'expanded' attribute (bool) to initially expand the item.</td>
</tr>
<tr>
<th>Attributes:</th>
<td><table class="attributes">
<tr>
<th>Name:</th>
<td class="tt">show-header</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, column headers will be visible.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">autosize-header</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>false</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, column headers will resize to fit contents.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">sortable</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>false</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, it will be possible to sort data by columns by clicking on column headers.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-selection-change</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the selection change event. Arguments of the function are: (uiHandle, id, item_id).</td>
</tr>
</table></td>
</tr>
<tr><th>
<a name="vslider"></a><a href="#top">^</a>
</th></tr>
<tr>
<th>Element:</th>
<td class="tt">&lt;vslider&gt;</td>
</tr>
<tr>
<th>Description:</th>
<td>A vertical slider widget.</td>
</tr>
<tr>
<th>Attributes:</th>
<td><table class="attributes">
<tr>
<th>Name:</th>
<td class="tt">enabled</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>Enable status of widget.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">style</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Qt stylesheet.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">value</td>
</tr>
<tr>
<th>Type:</th>
<td>int</td>
</tr>
<tr>
<th>Default:</th>
<td>0</td>
</tr>
<tr>
<th>Description:</th>
<td>Initial value.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">minimum</td>
</tr>
<tr>
<th>Type:</th>
<td>int</td>
</tr>
<tr>
<th>Default:</th>
<td>0</td>
</tr>
<tr>
<th>Description:</th>
<td>Minimum value.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">maximum</td>
</tr>
<tr>
<th>Type:</th>
<td>int</td>
</tr>
<tr>
<th>Default:</th>
<td>100</td>
</tr>
<tr>
<th>Description:</th>
<td>Maximum value.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">tick-interval</td>
</tr>
<tr>
<th>Type:</th>
<td>int</td>
</tr>
<tr>
<th>Default:</th>
<td>0</td>
</tr>
<tr>
<th>Description:</th>
<td>Tick interval.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">tick-position</td>
</tr>
<tr>
<th>Type:</th>
<td>
        One of:
        <ul>
<li>none</li>
<li>both-sides</li>
<li>above</li>
<li>below</li>
<li>left</li>
<li>right</li>
</ul>
</td>
</tr>
<tr>
<th>Default:</th>
<td>none</td>
</tr>
<tr>
<th>Description:</th>
<td>In which direction to draw ticks.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">inverted</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>false</td>
</tr>
<tr>
<th>Description:</th>
<td>If true, minimum and maximum will be swapped.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-change</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the change event.  Arguments of the function are: (uiHandle, id, newValue).</td>
</tr>
</table></td>
</tr>
<tr>
<th>See also:</th>
<td><ul><li><a href="#hslider" class="tt">&lt;hslider&gt;</a></li></ul></td>
</tr>
<tr><th>
<a name="svg"></a><a href="#top">^</a>
</th></tr>
<tr>
<th>Element:</th>
<td class="tt">&lt;svg&gt;</td>
</tr>
<tr>
<th>Description:</th>
<td>An SVG widget. Content can be embedded in the XML.</td>
</tr>
<tr>
<th>Attributes:</th>
<td><table class="attributes">
<tr>
<th>Name:</th>
<td class="tt">enabled</td>
</tr>
<tr>
<th>Type:</th>
<td>bool</td>
</tr>
<tr>
<th>Default:</th>
<td>true</td>
</tr>
<tr>
<th>Description:</th>
<td>Enable status of widget.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">style</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Qt stylesheet.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">file</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>File to load.</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-mouse-down</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the mouseDown event. Arguments of the function are: (uiHandle, id, type, flags, x, y).</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-mouse-up</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the mouseUp event. Arguments of the function are: (uiHandle, id, type, flags, x, y).</td>
</tr>
<tr class="spacer"><td colspan="2"></td></tr>
<tr>
<th>Name:</th>
<td class="tt">on-mouse-move</td>
</tr>
<tr>
<th>Type:</th>
<td>string</td>
</tr>
<tr>
<th>Default:</th>
<td></td>
</tr>
<tr>
<th>Description:</th>
<td>Name of a Lua function to handle the mouseMove event. Arguments of the function are: (uiHandle, id, type, flags, x, y).</td>
</tr>
</table></td>
</tr>
<tr>
<th>See also:</th>
<td><ul><li><a href="#image" class="tt">&lt;image&gt;</a></li></ul></td>
</tr>
<tr><th>
<a name="stretch"></a><a href="#top">^</a>
</th></tr>
<tr>
<th>Element:</th>
<td class="tt">&lt;stretch&gt;</td>
</tr>
<tr>
<th>Description:</th>
<td>Special element that can be put inside a parent with layout (such as &lt;ui&gt;, &lt;group&gt; or &lt;tab&gt;) if the layout is <b>hbox</b> or <b>vbox</b>.</td>
</tr>
<tr>
<th>Attributes:</th>
<td><table class="attributes">
<tr>
<th>Name:</th>
<td class="tt">factor</td>
</tr>
<tr>
<th>Type:</th>
<td>int</td>
</tr>
<tr>
<th>Default:</th>
<td>0</td>
</tr>
<tr>
<th>Description:</th>
<td>Stretch factor (see <a href="http://doc.qt.io/qt-4.8/layout.html#stretch-factors">http://doc.qt.io/qt-4.8/layout.html#stretch-factors</a>).</td>
</tr>
</table></td>
</tr>
<tr><th>
<a name="br"></a><a href="#top">^</a>
</th></tr>
<tr>
<th>Element:</th>
<td class="tt">&lt;br&gt;</td>
</tr>
<tr>
<th>Description:</th>
<td>Special element that can be put inside a parent with layout (such as &lt;ui&gt;, &lt;group&gt; or &lt;tab&gt;) if the layout is <b>grid</b>, and it is used to begin a new line in the grid layout.</td>
</tr>
<tr>
<th>Attributes:</th>
<td><table class="attributes"></table></td>
</tr>
</table>
</td></tr></table></body>
</html>
